<?php 
	ob_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Central Cell</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="../css/main.css" media="all" />
<!--[if IE 6]><link type="text/css" rel="stylesheet" href="css/ie6.css" media="all" /><![endif]-->
<link rel="stylesheet" type="text/css" href="css/accordion_glam.css" />
<script type="text/javascript" src="js/validateForm.js"></script>
<Script type="text/javascript">
window.history.forward(1);
</Script>
</head>
<body>
<?php
	require ("main_function.php"); 
	require ("header.php");
?> 
<div id="main">
<!-- header ends -->
<!-- content begins -->
<div id="content_bg">
<div id="maintop">
<?php 
	//require ("right.php");
?> 

<div id="test-accordion" class="accordion">
	<div class="accordion-toggle"><h2 align="center">Isilah data diri anda dengan lengkap</h2></div>
	<div id="isi">
	<p>
				
				<table>
				<form name="form1" method="post" action="add_user2.php">
				<tr>
					<td>Nama Lengkap</td>
					<td id="td1">:</td>
					<td><input type="text" name="input1" class="text" maxlength="30" size="25"></td>
				</tr>
				<tr>
					<td id="td1">Tempat Lahir</td>
					<td id="td1">:</td>
					<td id="td1"><input type="text" name="input2" maxlength="150" size="30" id="txts"></td>
				</tr>
				<tr>
					<td id="td1">Tanggal Lahir</td>
					<td id="td1">:</td>
					<td id="td1">				
					<select name="input3">
					<option value="" selected>- Tanggal -</option>
					 <?php
						for ($i=1;$i<=31;$i++)
						{
							echo "<option value=$i>".$i."</option>";
						}
					?>
						</select>
					</select>
					<select name="input4">
					<option value="" selected>- Bulan -</option>
					<?php
					$bulan=array(1=>"January","February","Maret","April","Mei","Juni","Juli","Agustust","September","Oktober","Nopember","Desember");
					for ($i=1;$i<=count($bulan);$i++){
					?>
					<option value="<?php echo $i ?>" <?php echo $pilih ?>><?php echo $bulan[$i];}?></option>
					</select>
					<select name="input5">
					<option  value="" selected>- Tahun -</option>
					<?php
						for ($b=1985;$b<=2010;$b++)
						{
							echo "<option value=$b>".$b."</option>";
						}
					?>
					</select>
					</td>
				</tr>
				<tr>
					<td id="td1">Jenis Kelamin</td>
					<td id="td1">:</td>
					<td id="td1">
						<select name="input6" id="jen_kel">
							<option value="" selected="selected">Pilih Salah Satu</option>
							<option value="Laki-laki">Laki-laki</option>
							<option value="Perempuan">Perempuan</option>
						</select>
					</td>
				</tr>
				<tr>
					<td>Alamat Rumah</td>
					<td id="td1">:</td>
					<td><textarea name="alamat"></textarea></td>
				</tr>
				<tr>
					<td>Asal Sekolah</td>
					<td id="td1">:</td>
					<td><input type="text" name="input7" class="text" maxlength="100" size="50"></td>
				</tr>
				<tr>
					<td>Jurusan</td>
					<td id="td1">:</td>
					<td><input type="text" name="input8" class="text" maxlength="30" size="25"></td>
				</tr>
				<tr>
					<td>No Telephone</td>
					<td id="td1">:</td>
					<td><input type="text" name="input9" class="text" maxlength="50" size="25"></td>
				</tr>
				<tr>
					<td>E-Mail</td>
					<td id="td1">:</td>
					<td><input type="text" name="input10" class="text" maxlength="50" size="25"></td>
				</tr>
				<tr>
					<td>Nama Orang Tua</td>
					<td id="td1">:</td>
					<td><input type="text" name="input11" class="text" maxlength="45" size="50"></td>
				</tr>				
				<tr>
					<td>Pekerjaan Orang Tua</td>
					<td id="td1">:</td>
					<td>
						<select name="input12">
						<option value="" selected="selected">Pilih Salah Satu</option>
						<option value="PNS">PNS</option>
						<option value="TNI/POLRI">TNI/POLRI</option>
						<option value="Pegawai Swasta">Pegawai Swasta</option>
						<option value="Pedagang">Pedagang</option>
						<option value="Petani/Nelayan">Petani/Nelayan</option>
						<option value="Wiraswasta">Wiraswasta</option>
						<option value="Guru/Dosen">Guru/Dosen</option>
						<option value="Lain-Lain">Lain-Lain</option>
						</select>
					</td>
				</tr>
				<tr>
					<td>Pilihan Program Study</td>
					<td id="td1">:</td>
					<td><select name="input13">
						<option value="" selected="selected">Pilih Salah Satu</option>
						<option value="OM">Office Management</option>
						<option value="KA">Komputer Accounting</option>
						<option value="BA">Business Administratsi</option>
						<option value="IK">Informatic Computer</option>
						</select>
					</td>
				</tr>
				<tr>
					<td colspan="2"><input type="button" name="tambah" value="Tambah " onClick="return checkInput(14);" />&nbsp;<input type="reset" value="Batal" onClick="return cleanForm(10);"></td>
				</tr>
				</form>
				</table>
				
				<br /></p>
		</div>
		</div>
		</div>
		</div>
		<?php 
			require ("footer.php");
		?>
</body>
</html>
	<?php ob_end_flush(); ?>